package com.gdit.zax.entitys;

import java.sql.Timestamp;
/**
 * 章节数据
 * @author lenovo
 *
 */
public class Section {
	private int courseid;
	private String name;
	private String introduction;
	private int	 anthorid;
	private int type;
	
	
	public int getCourseid() {
		return courseid;
	}
	public void setCourseid(int courseid) {
		this.courseid = courseid;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getIntroduction() {
		return introduction;
	}
	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}
	public int getAnthorid() {
		return anthorid;
	}
	public void setAnthorid(int anthorid) {
		this.anthorid = anthorid;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	
	
	
	
	
	
	private int id;
	private Timestamp addtime;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getAddtime() {
		return addtime.toString().replace(".0", "");
	}
	public void setAddtime(Timestamp addtime) {
		this.addtime = addtime;
	}
}
